const panelHotkeys = [
  /*---------------显示控制begin----------------*/
  //  toggle full screen
  {
    key: {
      windows: 'ctrl+enter',
      mac: '⌃+enter'
    },
    action: 'toggleFullScreen',
    type: 'system'
  },
  // exit full screen
  /* {
    key: 'esc',
    action: 'exitScreen',
    type: 'system'
  }, */
  {
    key: {
      windows: 'ctrl+`',
      mac: '⌃+`'
    },
    action: 'panelServer.toggleConsole',
    type: 'system'
  },

  /**
   * key: ctrl + q
   */
  {
    key: {
      windows: 'ctrl+q',
      mac: '⌃+q'
    },
    action: 'panelServer.toggleFooterNav',
    type: 'system'
  },

  /*---------------显示控制begin----------------*/

  /*---------------UI控制begin----------------*/
  /**
   * key: ctrl+o
   * discribe: 开启控制面板
   */
  {
    key: {
      windows: 'ctrl+o',
      mac: '⌃+o'
    },
    action: 'panelServer.toggle',
    type: 'system'
  },
  /**
   * key: ctrl+shift+r
   * discribe: 重置控制面板设置
   */
  {
    key: {
      windows: 'ctrl+shift+r',
      mac: '⌃+⇧+r'
    },
    action: 'panelServer.reset',
    type: 'system'
  },
  /**
   * key: ctrl+n+1/2/3
   * discribe: 切换到第1/2/3个tab
   */
  {
    key: {
      windows: 'alt+1',
      mac: '⌥+1'
    },
    action: 'panelServer.activeTab',
    type: 'system'
  },
  {
    key: {
      windows: 'alt+2',
      mac: '⌥+2'
    },
    action: 'panelServer.activeTab',
    type: 'system'
  },
  {
    key: {
      windows: 'alt+3',
      mac: '⌥+3'
    },
    action: 'panelServer.activeTab',
    type: 'system'
  },
  /**
   * key: ctrl+n+]
   * discribe: 切换到下一个个tab
   */
  {
    key: {
      windows: 'alt+]',
      mac: '⌥+]'
    },
    action: 'panelServer.nextTab',
    type: 'system'
  },
  /**
   * key: ctrl+n+[
   * discribe: 切换到上一个个tab
   */
  {
    key: {
      windows: 'alt+[',
      mac: '⌥+['
    },
    action: 'panelServer.prevTab',
    type: 'system'
  },
  /**
   * key: ctrl+alt+[  模块具备作用域 和tab页联动
   * discribe: 展开上一个模块
   */
   {
    key: {
      windows: 'ctrl+alt+[',
      mac: '⌃+⌥+['
    },
    action: 'panelServer.prevBlock',
    type: 'system'
  },
  /**
   * key: ctrl+alt+]  模块具备作用域 和tab页联动
   * discribe: 展开下一个模块
   */
  {
    key: {
      windows: 'ctrl+alt+]',
      mac: '⌃+⌥+]'
    },
    action: 'panelServer.nextBlock',
    type: 'system'
  },
  /*---------------UI控制end----------------*/
]
export default panelHotkeys
